<!-- /* Description for file.
 *简历入库模板列表页面
 *
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/resumerequireds
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    张朋2011年0701
 * @lastmodified  张海杰2011年0701
 -->
<?php
	echo $html->css ( 'tab' );
?>

<script type="text/javascript">
	$(document).ready(function(){
	$("#showadd").click(function(){
		$(".newdeducation").toggle();
		});
	});
</script>
<style>
.tab1 tr td{
	border:1px solid #abcfe0;
	color:#000;
	text-align:center;
	font-weight:normal;
	line-height:26px;
}
</style>
<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo __('Systemconfigs');//一级目录
										   echo '>';echo __('Resumesetting');//二级目录
										   echo '>';?>
									<?php echo $html->tag('span', __('Resumerequireds Set',true));//当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->

<!--定制新增iframe-->
<div class="newdeducation" style="display:none;">
	<div class="tabflex" style="margin-left:20px;width:90%;height:180px;">
		<iframe id="newdeducation" name="newdeducation" height="100%" width="100%" border="0" frameborder="0"  scrolling="no"
			src="<?php echo $html->url(array('controller' => 'resumerequireds','action' => 'add'));?>">
		</iframe>
	</div>
</div>

<!-- 标题 -->
<div class="tabflex">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td width="100px">
		 <a id="showadd"><?php echo $html->image('setting.gif', 
		 							array('alt' =>  __('Add', true),'title'=>'简历入库模板','border'=>'0','id'=>'showadd')); ?>&nbsp;<?php __('ResumeUploadModel');?></a>
		</td><!--  __('Add', true) 定制-->
		<td></td>		
	</tr>
</table>
</div>

<!--               列表操作-->
<div id="nav1" width="100%">
<table width="100%" cellpadding="0" cellspacing="0" class="tab2">
	<tr>
		<th width="70px;"><?php echo __('chineseName', true);?></th>
		<!--<th><?php echo __('isRequired', true);?></th>
		--><th><?php echo __('templateCN', true);?></th>
		<th><?php echo __('templateEN', true);?></th>
		<th><?php echo __('templateJP', true);?></th>
		<th class="actions" colspan="2" width="80px"><?php __('Actions');?></th>
	</tr>
		<!-- Here's where we loop through our $Notes array, printing out post info --> 
	
	<?php
	foreach ($resumerequireds as $resumerequired):
	?>
		<tr class=normal onmouseover='this.className= "over " '
			onmouseup='this.className= "over " '
			onmouseout='this.className= "normal " '>
			<!--<td>
				<?php echo $resumerequired['Resumerequired']['resumeField']; ?>
			</td>
			-->
			<td>
				<?php echo $html->link($resumerequired['Resumerequired']['chineseName'], array('action' => 'edit', $resumerequired['Resumerequired']['id'])); ?>
			</td>
			<!--<td>
				<?php echo $resumerequired['Resumerequired']['isRequired']; ?>
			</td>
			--><td title="<?php echo $resumerequired['Resumerequired']['templateCN']; ?>">
				<?php echo $resumerequired['Resumerequired']['templateCN']; ?>
			</td>
			<td title="<?php echo $resumerequired['Resumerequired']['templateEN']; ?>">
				<?php echo $resumerequired['Resumerequired']['templateEN']; ?>
			</td>
			<td title="<?php echo $resumerequired['Resumerequired']['templateJP']; ?>">
				<?php echo $resumerequired['Resumerequired']['templateJP']; ?>
			</td>
<!--<td class="actions">-->
			<td >
			<?php echo $html->link( $html->image('edit.gif', array('alt' =>  __('Edit', true),'border'=>'0')), '/resumerequireds/edit/' .$resumerequired['Resumerequired']['id'], null,null,
			array('escape'=>false));  ?> 	
			</td><!--  __('edit', true) 修改 -->			
			<td >
			<?php echo $html->link( $html->image('delete.gif', array('alt' =>  __('Delete', true),'border'=>'0')), '/resumerequireds/delete/' .$resumerequired['Resumerequired']['id'], null, 
			__('Are you sure you want to delete', true) .' '. '?',array('escape'=>false));  ?> 		
			</td><!--  __('delete', true) 删除、提示 -->
		</tr>
	<?php endforeach; ?>

</table>
</div>

